projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba086f9
)
inspector: Fix initial state of dark switch
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 14 Sep 2014 12:36:41 +0000
(08:36 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 14 Sep 2014 12:38:28 +0000
(08:38 -0400)
Noticed while debugging a totem problem.
gtk/inspector/visual.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/visual.c
b/gtk/inspector/visual.c
index a86c9972ee3b1e27d5cf97bffda31d9d1c6cbb11..acd3c8e05fefdca89f56a923dbd739e55f4c9807 100644
(file)
--- a/
gtk/inspector/visual.c
+++ b/
gtk/inspector/visual.c
@@
-258,9
+258,9
@@
theme_changed (GtkComboBox *c,
static void
init_dark (GtkInspectorVisual *vis)
{
- g_object_bind_property (
vis->priv->dark_switch, "activ
e",
-
gtk_settings_get_default (), "gtk-application-prefer-dark-them
e",
- G_BINDING_BIDIRECTIONAL);
+ g_object_bind_property (
gtk_settings_get_default (), "gtk-application-prefer-dark-them
e",
+
vis->priv->dark_switch, "activ
e",
+ G_BINDING_BIDIRECTIONAL
| G_BINDING_SYNC_CREATE
);
if (g_getenv ("GTK_THEME") != NULL)
{